package cn.yzy.db;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class KnowledgePoint implements Serializable{
	private Integer id;
	private String title;
	private Group group;
	private Set<Keyword> keywords=new HashSet<Keyword>();
	private byte[] content;
	
	public KnowledgePoint(){
		
	}
	
	public KnowledgePoint(String title) {
		this.title=title;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Group getGroup() {
		return group;
	}

	public void setGroup(Group group) {
		this.group = group;
	}

	public Set<Keyword> getKeywords() {
		return keywords;
	}

	public void setKeywords(Set<Keyword> keywords) {
		this.keywords = keywords;
	}

	public byte[] getContent() {
		return content;
	}

	public void setContent(byte[] content) {
		this.content = content;
	}

}
